use clap::Parser;
use rcli::{CmdExecutor, Opts};
#[tokio::main]
async fn main() -> anyhow::Result<()> {
    // join tracing log
    tracing_subscriber::fmt::init();
    let opts = Opts::parse();
    // println!("opts:{:?}", opts)
    opts.cmd.execute().await?;
    anyhow::Ok(())
}
